home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 May
/
EnigmA AMIGA RUN 18 (1997)(G.R. Edizioni)(IT)[!][issue 1997-05][EAR-CD II].iso
/
earcd
/
util
/
rexx
/
biomonit.lha
/
BioMonitor.dox
< prev
next >
Wrap
Text File
|
1997-02-03
|
6KB
|
151 lines
BioMonitor.rexx - A background supervisor script for BioWare
Created 24-10-94
(c) 1993 Karl Mottram / BIFROST Industries
- DISCLAIMER -
This ARexx Script is Public Domain, and as such may go ANYWHERE you care to
send it, with the following conditions:
Any alterations you make to it, please send a copy to the Author. Just to
let me know what has happened to my Pet-Hobby Software.
You may add ANY documentation into the Archive you like, including
Any "Downloaded From......BBS" Files, ".DisplayMe" files, Credits for
added work done, Ego-Boosters of any sort, basically I don't care,
BUT, You DO NOT Have the right to alter in any way the original Dox file.
Apart from that, do as you like, post where you want, distribute!
If you use it, I'd be pleased to hear from you, and any Donations you wish
to send will encourage me to write more and better stuff. Ideas, Donations,
Death-Threats, Photos of sexy females, Marriage Proposals, HOWDY-Letters
etc can be sent to me at any of the Addresses at the bottom of this file.
This archive may be placed in any P.D. Library, including the FishDisks,
but I'd like to know about it please. A copy of the appropriate disk would
be a nice gesture.
- THE BASIC IDEA -
This just gets run asynchronously in the background, opens and monitors BIOPORT
for any BioWare sending requests to it, Pops open a window on the workbench and
displays ALERTS to it.
- GETTING STARTED -
Unpack this into a system dir, like REXX: or S: and add a line into your
startup-sequence as follows:
Run rx <PATH>:/BioMonitor.rexx
Now open your fave text editor. Edit the .rexx file to customise the paths
etc. and you're away. Either reboot, or retype the s-s addition into a shell
to kick it over. Only V2.0+ of any BioWare will access this util, and until
v2.5 TOPS, they will work well enough without it. After a short while, all
BioWare will not be able to run without this mini-server, but they will be
faster, smaller and cleaner - we have the technology. :>
Into your Startup-Sequence you should also add a section with the following
entries:
Assign REXX: s:
c:loadlib libs:rexxmathlib.library
c:loadlib libs:rexxsupport.library
c:loadlib libs:rexxarplib.library
c:loadlib libs:req.library
Sys:System/RexxMast >NIL:
c:waitforport REXX
c:rxlib rexxmathlib.library 5 -30 0
c:rxlib rexxsupport.library -5 -30 0
c:rxlib rexxarplib.library -10 -30 0
c:rxlib req.library -5 -60 2
- USING BIOMONITOR IN YOUR SCRIPTS -
Well, I would prefer that I be the only one to use it, but if you want to send
info to it from your own scripts, I guess that's OK. MODIFYING BioMonitor.* IN
ANY WAY IS PROHIBITED. If you do incorporate it's use into a util-script, I
would appreciate it if you sent me a copy, so I can see if anything else could
be added to the monitor to make the job easier. See BioMonitor.args for
details about function calls and their results.
- HISTORY -
24-10-94: v1.0 *UNRELEASED*
Started with a basic framework. Lots of bugs, and I thought of a few
problems that might arise, so thought I'd fix them before I released it.
25-10-94: v1.1 *RELEASED*
Now handles ALERTS - which are just notes posted in the window on WB - and
NOTIFY requests - which append to the SpyFile for later expansion. I have
plans for that file, but don't yet know how to impliment them exactly, but
all BioWare notes to there at present.
26-10-94: v1.2 *RELEASED*
Geez, don't ya hate it when you make siully little mistakes that stop
everything running smoothly?! Now added the Monitor.log so I can get
accurate feedback from my beta-testers and check on the operation of the
Monitor itself.
To the Testers: If stuff-ups occur - SEND ME THE MONITOR.LOG FILE PLEASE
22-11-94: v1.3 *RELEASED*
Just cleaned up the output a bit. Now, rather than just writing
DisplayText to the Monitor.log, it prefaces it with 'ALERT : '
Just to clean it up some.
07-01-95: v1.4 *UNRELEASED*
Just screwing around and figured on possible multiple-invocation problems,
so added CheckEnv: and the ENV: flag stuff. Damn, have to add a sortof
"On Exit, del EnvFlag" thing. Hmmm.. It'll stay v1.4 thou.
01-05-95: v1.5 *UNRELEASED*
Just playing around. Had asome ideas to make it more flexible, and so far
they seem to be holding together. Added the adaption for my ZapDisk script
that formats disks in a nicer way and logs reports to BioMonitor.log.
02-06-96: v1.6 *UNRELEASED*
Got tired of my WB layout, fiddled with it. Realised I'd have to change
the monitor's output window dimensions, and it hit me that it was a waste
of time plowing through the sourse to change the bloody win's co-ords, so
I did a little cut-n-paste from Reminder!.rexx and added the ENVFile
routines. Now, you need only edit ENV:Monitor.env. Co-Ords are in
standard CON: order - XPos YPos XSize YSize.
03-02-97: v1.7 *UNRELEASED*
Added the EXECUTE module, just because I've been meaning to, but never
really got around to it before. :} Will probably need some work yet, but
at this point, I don't have any real need for it. Maybe as things
progress.
- THANX SECTION -
William Hawes - Who wrote ARexx. A nice, cute, Fairly-Simple
Language. Which I could never live without.
ARexx (c) 1987 William S. Hawes.
Alex Gian - ARexx columnist for Amiga Computing magazine for writing
such an easy-to-follow explaination of how to monitor a
port. Thanx, even thou you'll never read this.
My Beta-Testers - For Beta-testing of course! <GRIN>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
UseNET:
karl@bifrost.manawatu.gen.nz - Main source of communication.
SnailMail:
BIFROST Industries
P.O. Box 678
Palmerston North
New Zealand
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%